package Classes;
public class Problem {
    
    private String problemText;
    private Question[] questions;
    
    public Problem(String problemText,Question[] questions) {
        this.problemText = problemText;
        this.questions = questions;
    }
    
    public Question getQuestion(int position) {
        return questions[position];
    }
}
